
import type { FilterRuleOptions, TypeConfig, RuleGenerationResult } from './types';
import { createBaseRule } from './ruleGeneratorUtils';

const jewelConfig: TypeConfig = {
    class: 'Jewel',
    icon: 'Blue',
    iconShape: 'Circle',
    name: '珠宝',
    fontSize: 60
};

export function generateJewelRule(options: FilterRuleOptions): RuleGenerationResult {
    return createBaseRule(options, {
        name: jewelConfig.name,
        class: jewelConfig.class,
        defaultColor: '#00FF00',  // 绿色作为珠宝的默认颜色
        defaultBgColor: '#FFFFFF',
        fontSize: jewelConfig.fontSize,
        icon: jewelConfig.icon,
        iconShape: jewelConfig.iconShape
    });
}